//
//  UIButton+CZAddition.h
//  Weibo_Swift
//
//  Created by MT on 2017/5/9.
//  Copyright © 2017年 weibo. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (CZAddition)
/// 创建文本按钮
///
/// @param title         文本
/// @param fontSize      字体大小
/// @param normalColor   默认颜色
/// @param selectedColor 选中颜色
/// @param backgroundImageName 背景图片
///
/// @return UIButton
+ (instancetype)cz_textButton:(NSString *)title fontSize:(CGFloat)fontSize normalColor:(UIColor *)normalColor selectedColor:(UIColor *)selectedColor backgroundImageName:(NSString *)backgroundImageName;

- (void)setButtonImageWithUrl:(NSString *)urlStr;


@end
